package commands
{
	import flash.display.DisplayObject;

	public class ScaleUpCommand implements IUndoableCommand,IRedoableCommand
	{
		private var _reveiver:DisplayObject;
		public function ScaleUpCommand(reveiver:DisplayObject)
		{
			this._reveiver = reveiver;
		}
		
		public function execute():void
		{
			this._reveiver.scaleX += 0.1;
			this._reveiver.scaleY += 0.1;
		}
		public function undo():void
		{
			this._reveiver.scaleX -= 0.1;
			this._reveiver.scaleY -= 0.1;
		}
		public function redo():void{
			execute();
		}
	}
}